package cn.dancepeak.role.service;

import cn.dancepeak.role.domain.Role;
import cn.dancepeak.role.query.RoleQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleServiceImpl {

    void add(Role role);

    void update(Role role);

    void delete(Long id);

    void deleteByList(List<Long> ids);

    Role getById(Long id);

    PageInfo<Role> page(RoleQuery roleQuery);

    List<Role> getAll();

}
